import React from 'react'
import './css/modal.less';
class Modal extends React.Component {
  render () {
    return (
      <div className='modal-cover' style={{position:'fixed',left:0,top:0}}>
        <div className='modal-center'>
            {this.props.children}
        </div>
      </div>
    )
  }
}
export default Modal